package com.lhz.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author LiGezZ
 * @Date 2021/08/02 21:02:27
 * @Description: 定时任务服务注册
 */
@Data
@TableName("job_registry")
public class JobRegistry implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId("id")
    private Long id;

    /**
     * 执行器地址
     */
    private String address;

    /**
     * 注册时间
     */
    private LocalDateTime registryTime;
}
